<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 4
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Dribbble: www.dribbble.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<html lang="en">
<!-- begin::Head -->

<head>
	<meta charset="utf-8" />
	<title>

	</title>
	<meta name="description" content="">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<!--begin::Web font -->

	<!--end::Web font -->
	<!--begin::Base Styles -->
	<!--begin::Page Vendors -->
	<!--end::Page Vendors -->
	<link href="views/app/assets/vendors/custom/datatables/datatables.bundle.css" rel="stylesheet" type="text/css" />

	<!--end::Base Styles -->
</head>
<!-- end::Head -->
<!-- end::Body -->

<body
	class="m-page--fluid m--skin- m-content--skin-light2 m-header--fixed m-header--fixed-mobile m-aside-left--enabled m-aside-left--skin-dark m-aside-left--offcanvas m-footer--push m-aside--offcanvas-default">
	<!-- begin:: Page -->
	<div class="m-grid m-grid--hor m-grid--root m-page" style="min-height:100vh">
		<!-- BEGIN: Header -->
		<header id="m_header" class="m-grid__item    m-header " m-minimize-offset="200" m-minimize-mobile-offset="200">
			<div class="m-container m-container--fluid m-container--full-height">
				<div class="m-stack m-stack--ver m-stack--desktop">
					<!-- BEGIN: Brand -->
					<div class="m-stack__item m-brand  m-brand--skin-dark ">
						<div class="m-stack m-stack--ver m-stack--general">
							<div class="m-stack__item m-stack__item--middle m-brand__logo">
								<a href="index.html" class="m-brand__logo-wrapper">
									<img alt="" src="image/static/home.png" />
								</a>
							</div>
							<div class="m-stack__item m-stack__item--middle m-brand__tools">
								<!-- BEGIN: Left Aside Minimize Toggle -->
								<a href="javascript:;" id="m_aside_left_minimize_toggle" class="m-brand__icon m-brand__toggler m-brand__toggler--left m--visible-desktop-inline-block 
								">
									<span></span>
								</a>
								<!-- END -->
								<!-- BEGIN: Responsive Aside Left Menu Toggler -->
								<a href="javascript:;" id="m_aside_left_offcanvas_toggle"
									class="m-brand__icon m-brand__toggler m-brand__toggler--left m--visible-tablet-and-mobile-inline-block">
									<span></span>
								</a>
								<!-- END -->
								<!-- BEGIN: Responsive Header Menu Toggler -->
								<a id="m_aside_header_menu_mobile_toggle" href="javascript:;"
									class="m-brand__icon m-brand__toggler m--visible-tablet-and-mobile-inline-block">
									<span></span>
								</a>
								<!-- END -->
								<!-- BEGIN: Topbar Toggler -->
								<a id="m_aside_header_topbar_mobile_toggle" href="javascript:;"
									class="m-brand__icon m--visible-tablet-and-mobile-inline-block">
									<i class="flaticon-more"></i>
								</a>
								<!-- BEGIN: Topbar Toggler -->
							</div>
						</div>
					</div>
					<!-- END: Brand -->
					<div class="m-stack__item m-stack__item--fluid m-header-head" id="m_header_nav">
						<!-- BEGIN: Horizontal Menu -->
						<button class="m-aside-header-menu-mobile-close  m-aside-header-menu-mobile-close--skin-dark "
							id="m_aside_header_menu_mobile_close_btn">
							<i class="la la-close"></i>
						</button>
						<top-bar></top-bar>
						<!-- END: Horizontal Menu -->
						<!-- BEGIN: Topbar -->

					</div>
		</header>
		<!-- END: Header -->
		<!-- begin::Body -->
		<div class="m-grid__item m-grid__item--fluid m-grid m-grid--ver-desktop m-grid--desktop m-body">
			<!-- BEGIN: Left Aside -->
			<button class="m-aside-left-close  m-aside-left-close--skin-dark " id="m_aside_left_close_btn">
				<i class="la la-close"></i>
			</button>
			<div id="m_aside_left" class="m-grid__item	m-aside-left  m-aside-left--skin-dark ">
				<!-- BEGIN: Aside Menu -->
				<side-bar></side-bar>
				<!-- END: Aside Menu -->
			</div>
			<!-- END: Left Aside -->
			<div class="m-grid__item m-grid__item--fluid m-wrapper">
				<!-- BEGIN: Subheader -->
				<div class="m-subheader ">
					<div class="d-flex align-items-center">
						<div class="mr-auto">
							<h3 class="m-subheader__title m-subheader__title--separator">
								程序控制
							</h3>

						</div>
						<drop-down></drop-down>
					</div>
				</div>
				<!-- END: Subheader -->
				<div class="m-content">

					<div class="m-portlet m-portlet--mobile">
						<div class="m-portlet__head">
							<div class="m-portlet__head-caption">
								<div class="m-portlet__head-title">
									<h3 class="m-portlet__head-text">
										程序控制
									</h3>
								</div>
							</div>

							<!-- <div class="m-portlet__head-tools">
																		<ul class="m-portlet__nav">
										<li class="m-portlet__nav-item" ng-click="export()">
											<div href="" class="btn btn-primary m-btn m-btn--custom m-btn--icon m-btn--air">
												<span>
													
													<span>
														导出客户列表
													</span>
												</span>
											</div>
										</li>
										
										
									</ul>
									<ul class="m-portlet__nav">
										<li class="m-portlet__nav-item">
											<a href="/user_change" class="btn btn-primary m-btn m-btn--custom m-btn--icon m-btn--air">
												<span>
													<i class="la la-plus"></i>
													<span>
														添加客户
													</span>
												</span>
											</a>
										</li>
										
										
									</ul>
								</div> -->

						</div>
						<div class="m-portlet__body">
							<!--begin: Datatable -->
							<div class="row" style="border-style: solid;border-width: 1px;border-color: #888888">



								<table class="table table-striped- table-bordered table-hover table-checkable"
									id="m_table_1">

									<thead>
										<tr style="font-size:16px">

											<th style="width: 50%;">
												<b>功能</b>
											</th>
											<th style="width: 50%;">
												<b>操作</b>
											</th>
										</tr>
									</thead>
									<tbody>

										<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
											<td>
												<b>不可登录账号的粉丝</b>
											</td>
											<td nowrap>
												<button type="button" class="btn btn-success" style="display:block;"
													ng-click='otherAccountFans($index)'>开始</button>
											</td>
										</tr>

										<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
											<td>
												<b>不可登录账号（转评赞）的粉丝</b>
											</td>
											<td nowrap>
												<button type="button" class="btn btn-success" style="display:block;"
													ng-click='otherInteractiveFansList($index)'>开始</button>
											</td>
										</tr>
										<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
											<td>
												<b>某条微博评论粉丝</b>
											</td>
											<td nowrap>
												*该微博UID:<input type="text" name="" ng-model='repostID3'
													placeholder="该微博Uid">
												*微博评论ID:<input type="text" name="" ng-model='repostUID2'
													placeholder="微博评论id">
												<button type="button" class="btn btn-success" style="display:block;"
													ng-click='postFanList($index)'>开始</button>
											</td>
										</tr>
										<tr>
											<td>
												<b>搜索用户详情</b>
											</td>
											<td nowrap>
												<button type="button" class="btn btn-success" style="display:block;"
													ng-click='updateUserInfo($index)'>开始</button>
											</td>
										</tr>



									</tbody>

								</table>

							</div>
							<div class="row"
								style="border-style: solid;border-width: 1px;border-color: #888888;margin-top: 30px">
								<table class="table table-striped- table-bordered table-hover table-checkable"
									id="m_table_1">
									<thead>
										<tr style="font-size:16px">

											<th style="width: 50%;">
												<b>TVG账号功能</b>
											</th>
											<th style="width: 50%;">
												<b>操作</b>
											</th>
										</tr>
									</thead>
									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>私信的粉丝</b>
										</td>

										<td nowrap>
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='repostFans($index)'>开始</button>
										</td>
									</tr>
									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>转发指定微博的粉丝私信</b>
										</td>
										<td nowrap>
											<div>
												*微博评论ID:<input type="" name="" ng-model='repostFansId'
													placeholder="微博评论id">
											</div>
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='repostFans($index)'>开始</button>
										</td>
									</tr>

									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>转发指定微博的男粉删除</b>
										</td>
										<td nowrap>
											<div>
												*该微博UID:<input type="text" name="" ng-model='repostID3'
													placeholder="该微博Uid">
											</div>
											<div>
												*微博评论ID:<input type="" name="" ng-model='repostUID2'
													placeholder="微博评论id">
											</div>
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='deleteCommenUser($index)'>开始</button>
										</td>
									</tr>

									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>登录账号的粉丝</b>
										</td>
										<td nowrap>
											<div>
												<div>
													<label for="mode1">不发送私信</label>
													<input type="radio" name="mygroup" id="no" value=-1
														ng-model='fanMode' />
												</div>
												<div>
													<label for="yes">新粉丝全发送私信</label>
													<input type="radio" name="mygroup" id="yes" value=0
														ng-model='fanMode' />
												</div>
												<div>
													<label for="yes2">UID投放新粉丝发送私信</label>
													<input type="radio" name="mygroup" id="yes2" value=1
														ng-model='fanMode' />
												</div>
												<div>
													<label for="yes3">某条微博评论新粉丝私信</label>
													<input type="radio" name="mygroup" id="yes3" value=2
														ng-model='fanMode' style='margin-right: 20px' />
													*微博评论ID:<input type="" name="" ng-value='repostID2'
														placeholder="微博评论id">
												</div>
											</div>
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='myAccountFans($index)'>开始</button>
										</td>
									</tr>
									<tr>
										<td>
											<b>删除登录账号的粉丝</b>
										</td>

										<td nowrap>
											<div>
												粉丝数少于:<input ng-model='fansCount' type='number' min=-1>
												关注数少于:<input ng-model='followCount' type='number' min=-1>
												微博数少于:<input ng-model='tweetCount' type='number' min=-1>
											</div>

											*登录账号uid:<input type="" name="" ng-model='deleteUID' placeholder="登录账号uid"
												style="margin-top:10px">
											<label for="mode1">删除男粉</label><input type='checkbox' ng-model='maleOnly'>
											<div>
												<span>
													<label for="mode1">全部条件满足删粉</label>
													<input type="radio" name="mygroup" id="no" value=0
														ng-model='deleteMode' />
												</span>
												<span>
													<label for="yes">任意条件满足删粉</label>
													<input type="radio" name="mygroup" id="yes" value=1
														ng-model='deleteMode' />
												</span>
												<button type="button" class="btn btn-success" style="display:block;"
													ng-click='deleteFans($index)'>开始</button>
										</td>
									</tr>
									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>根据UID删除粉丝</b>
										</td>

										<td nowrap>
											<div style="width: 30%;float:left;margin-left:3%">
											<label style="margin-top: 10px">账号:</label>
											<select class="form-control m-input"  ng-model="deleteUidAccount" ng-options="m._id as m.name for m in myAccount" >
											</select>
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='deleteUid($index)'>开始</button>
											</div>
										</td>
									</tr>
								</table>
							</div>

							<div class="row"
								style="border-style: solid;border-width: 1px;border-color: #888888;margin-top: 30px">
								<table class="table table-striped- table-bordered table-hover table-checkable"
									id="m_table_1">
									<thead>
										<tr style="font-size:16px">

											<th style="width: 50%;">
												<b>其他</b>
											</th>
											<th style="width: 50%;">
												<b>操作</b>
											</th>
										</tr>
									</thead>
									<tr>
										<td>
											<!-- <b>导入UID投放包(文件名为投放账号uid.txt)</b> -->
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='downloadTemplate($index)'>下载模板</button>
										</td>

										<td nowrap>
											<!-- <input type="file" onclick="uploadTemplate(this)"   id='filefile' ng-model='file'></input> -->
											<!-- <input type="file" id="file" accept=".txt" name="file"/>
											<button type="button" class="btn btn-success"
														style="display:block;"
														ng-click='uploadTxt($index)'>上传</button> -->
											<input type="file" id="file"
												accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
												name="file" />
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='uploadTemplate($index)'>上传</button>

										</td>
									</tr>
									<tr style="border-bottom: 30px solid rgba(0,0,0,0);">
										<td>
											<b>根据UID删除粉丝</b>
										</td>

										<td nowrap>
											<input type="file" id="deleteUIDlist"
												accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
												name="file" />
											<button type="button" class="btn btn-success" style="display:block;"
												ng-click='uploadDeleteUIDlist($index)'>上传</button>
										</td>
									</tr>
								</table>
							</div>
							<!-- END EXAMPLE TABLE PORTLET-->
						</div>
					</div>
				</div>
				<!-- end:: Body -->
				<!-- begin::Footer -->
				<bottom-footer></bottom-footer>
				<!-- end::Footer -->
			</div>
			<!-- end:: Page -->
			<!-- begin::Quick Sidebar -->

			<!-- end::Quick Sidebar -->
			<!-- begin::Scroll Top -->
			<div id="m_scroll_top" class="m-scroll-top">
				<i class="la la-arrow-up"></i>
			</div>
			<!-- end::Scroll Top -->
			<!-- begin::Quick Nav -->

			<!-- begin::Quick Nav -->
			<!--begin::Base Scripts -->

			<!--end::Page Resources -->

</body>
<!-- end::Body -->
<script type="text/javascript" src="js/filesaver.js"></script>

</html>